<table class="table table-bordered" id="address-lists-table" data-toggle="datagrid" data-options="{
    tableWidth: '100%',
    height: '100%',
    gridTitle : '员工角色列表',
    showToolbar: true,
    toolbarItem: 'add,del',
    local: 'remote',
    dataUrl: '/admin/company/address-lists?customer_id={{$customerId}}',
    linenumberAll: false,
    showLinenumber: false,
    showCheckboxcol: true,
    filterThead: false,
    inlineEditMult: false,
    showEditbtnscol: '操作',
    editUrl: '/admin/company/address-edit?id={id}',
    editMode:{dialog:{id:'address-edit-dialog','title':'地址编辑'}},
    editCallback:editCallback,
    delUrl:'/admin/company/address-delete',
    delPK: 'id',
    delConfirm: true,
}">
    <thead>
    <tr>
        <th data-options="{name:'id',width:50,align:'center',add:false,edit:false}">编号</th>
        <th data-options="{name:'consignee',align:'center'}">收货人</th>
        <th data-options="{name:'phone',align:'center'}">手机号</th>
        <th data-options="{name:'province_name',align:'center'}">省</th>
        <th data-options="{name:'city_name',align:'center'}">市</th>
        <th data-options="{name:'area_name',align:'center'}">区</th>
        <th data-options="{name:'address',align:'center'}">详细地址</th>
        <th data-options="{name:'foreign_key',hide:true}">收货人</th>
        <th data-options="{name:'province_id',hide:true}">省</th>
        <th data-options="{name:'city_id',hide:true}">市</th>
        <th data-options="{name:'area_id',hide:true}">区</th>
    </tr>
    </thead>
</table>
<script type="text/javascript"></script>